//1.输出1，2。。。直到1000，每次加1.
public class Task {
    public static void main(String[] args) {
        int num = 1;
        while (num <=1000) {
            System.out.println(num);
            num=num+1;
            }
        }
    }